﻿<controls:ChildWindow x:Class="OnlineGameClient.View.LoginWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
            
           Title="Login">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition Height="auto" />
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="1" HorizontalAlignment="Center">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
                <ColumnDefinition Width="auto"/>
            </Grid.ColumnDefinitions>
            <TextBlock Text="Name:" VerticalAlignment="Center"/>
            <TextBox AcceptsReturn="False" Grid.Column="1" Name="logintb" Margin="20,0,0,0" Width="100"/>
            <Button Grid.Column="2" Content="Login" Margin="20,0,0,0" Width="50" Click="Button_Click"/>
        </Grid>
    </Grid>
</controls:ChildWindow>